package com.zerui.manager.accessauthpersonnel.gateway;


import com.zerui.manager.accessauthpersonnel.AccessAuthPersonnel;
import com.zerui.manager.web.cmd.AccessAuthPersonnelBindCmd;
import java.util.List;
import java.util.Set;
/**
 * @Author wh
 * @create_time 2023-08-23 11:07
 */
public interface AccessAuthPersonnelGateWay {

    List<AccessAuthPersonnel> getByPersonnelIds(List<Long> personnelIds);

    void addBatch(List<AccessAuthPersonnel> accessAuthPersonals);

    List<Long> deleteBatch(AccessAuthPersonnelBindCmd cmd);

    List<Long> deleteAccessAuthPersonnelById(Long id);

    List<Long> getAccessAuthPersonnelById(Long accessAuthId);

    Set<Long> filterAccessAuthPersonnelByIds(Long accessAuthId, Set<Long> finalPersonnelList);

    void deleteById(Long id);

    void deleteByIds(List<Long> accessAuthPersonIds);
}
